package com.code.wflow.constants;

/**
 * @author ggh
 * @date 2022/11/24
 * 流程节点状态
 */
public enum InstanceNodeStatus {
    PASS((byte) 1, "通过"),
    NO_PASS((byte) 2, "未通过");
    private Byte val;

    private String msg;

    InstanceNodeStatus(Byte val, String msg) {
        this.val = val;
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public Byte getVal() {
        return val;
    }
}
